package com.ruoyi.system.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;

import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 短信发送记录对象 t_sms_record
 * 
 * @author DEREK
 * @date 2023-05-22
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_sms_record")
public class SmsRecord
{

    /** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 被推送用户ID */
    @Excel(name = "被推送用户ID")
    private Long userId;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 状态(1=发送成功 0=发送失败) */
    @Excel(name = "状态(1=发送成功 0=发送失败)")
    private Integer status;

    /** 发送成功 */
    @Excel(name = "发送成功")
    private Integer success;

    /** 到达 */
    @Excel(name = "到达")
    private Integer reach;

    /** 类型(1-注册，2-找回密码) */
    @Excel(name = "类型(1-注册，2-找回密码)")
    private Integer type;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String requestId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String bizId;

    private String remark;
    private Date createTime;
    private Date updateTime;
}
